home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 431_01 / makefile < prev    next >
Makefile  |  1994-10-07  |  1KB  |  42 lines

  1. #
  2. # turbo C (tcc) switches:
  3. #    -c  : compile only
  4. #    -r  : use register variables
  5. #    -Z  : optimize register variables
  6. #    -N- : no stack checking
  7. #    -v  : source level debugging
  8. #    -y  : include line numbers in debugging
  9. #
  10. # tasm
  11. #    /ml : case sensitive
  12. #    /m9 : allow multi pass assembing for forward references
  13. #    /zi : source level debugging
  14. #
  15. DEBUG = -v -y
  16. ASMDBG = /zi
  17.  
  18. .c.obj:
  19.     tcc -1- -c -r -Z -N- $(DEBUG) $*.c
  20.     
  21. .asm.obj:
  22.     tasm /ml /m9 $(ASMDBG) $*.asm    
  23.  
  24. all : rclient.exe rdrive.exe rserver.exe rstatus.exe rport.exe
  25.  
  26. rclient.exe : rclient.obj comio.obj ifs0.obj com0.obj crc32.obj rifs.obj myalloc.obj
  27.     tcc $(DEBUG) rclient.obj comio.obj ifs0.obj com0.obj crc32.obj rifs.obj myalloc.obj
  28.     
  29. rport.exe : rport.obj rifs.obj
  30.     tcc $(DEBUG) rport.obj rifs.obj
  31.     
  32. rdrive.exe : rdrive.obj rifs.obj
  33.     tcc $(DEBUG) rdrive.obj rifs.obj
  34.  
  35. rserver.exe : rserver.obj svr0.obj comio.obj com0.obj crc32.obj rifs.obj myalloc.obj
  36.     tcc $(DEBUG) rserver.obj svr0.obj comio.obj com0.obj crc32.obj rifs.obj myalloc.obj
  37.      
  38. rstatus.exe : rstatus.obj rifs.obj
  39.     tcc $(DEBUG) rstatus.obj rifs.obj
  40.          
  41. rclient.obj : local.h         
  42.